import {Color} from "./Day1-BaseType";

console.log('x');

/*闭包*/
function text() {
    let x = 3;
    console.log('test')
    console.log(x);

    function getX() {
        return x;
    }

    return getX();
}

var x = text();
console.log(x + "xxx");

function arrow(y = 'text') {
    console.log(y);
}

arrow();

let f = () => 5;
console.log(f);

let moon: Color = Color.Red;
console.log(moon);
